package weaver.interfaces.job;

import com.engine.shunsheng.util.HandleForeignAnnualLeaveUtil;
import weaver.conn.RecordSet;
import weaver.general.BaseBean;
import weaver.interfaces.schedule.BaseCronJob;

/**
 * @version 1.0
 * @Title ecology-9
 * @Company 泛微软件
 * @CreateDate 2024/8/23
 * @Description 处理外籍年假
 * @Author AdminZm
 */
public class HandleForeignAnnualLeaveJob extends BaseCronJob {

    BaseBean baseBean = new BaseBean();

    @Override
    public void execute() {
        baseBean.writeLog("HandleForeignAnnualLeaveJob start.");
        try {
            HandleForeignAnnualLeaveUtil handleForeignAnnualLeaveUtil = new HandleForeignAnnualLeaveUtil();
            handleForeignAnnualLeaveUtil.handleForeignAnnualLeave();

        } catch (Exception e) {
            baseBean.writeLog("HandleForeignAnnualLeaveJob error:" + e.getMessage());
        }
        baseBean.writeLog("HandleForeignAnnualLeaveJob end.");
    }
}
